package com.gjsh.b_recursion;

public class Demo01 {
//    static int sum = 3;

    public static void main(String[] args) {
        method(3);
    }

    public static void method(int n) {
        if (n == 0) return;
        System.out.println(n);
        n--;
        method(n);

    }
}
